home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cocktail / front.lha / front / m2c / Actions.h < prev    next >
C/C++ Source or Header  |  1992-08-18  |  1KB  |  43 lines

  1. #define DEFINITION_Actions
  2.  
  3. #ifndef DEFINITION_TokenTab
  4. #include "TokenTab.h"
  5. #endif
  6.  
  7. #ifndef DEFINITION_StringMem
  8. #include "StringMem.h"
  9. #endif
  10.  
  11. #ifndef DEFINITION_Strings
  12. #include "Strings.h"
  13. #endif
  14.  
  15. #ifndef DEFINITION_Idents
  16. #include "Idents.h"
  17. #endif
  18.  
  19. #ifndef DEFINITION_IO
  20. #include "IO.h"
  21. #endif
  22.  
  23. #ifndef DEFINITION_Lists
  24. #include "Lists.h"
  25. #endif
  26.  
  27. #define Actions_Export    0
  28. #define Actions_Global    1
  29. #define Actions_Local    2
  30. #define Actions_Begin    3
  31. #define Actions_Close    4
  32. typedef unsigned char Actions_tActionMode;
  33. extern Idents_tIdent Actions_ScannerName;
  34. extern Idents_tIdent Actions_ParserName;
  35. extern void Actions_PutComment ARGS((Actions_tActionMode kind, TokenTab_PosType kp, Lists_tList c, TokenTab_PosType cp));
  36. extern void Actions_GetComment ARGS((Actions_tActionMode kind, TokenTab_PosType *kp, Lists_tList *c, TokenTab_PosType *cp));
  37. extern void Actions_PutAction ARGS((Actions_tActionMode kind, Lists_tList a, TokenTab_PosType ap, Lists_tList c, TokenTab_PosType cp));
  38. extern void Actions_GetAction ARGS((Actions_tActionMode kind, Lists_tList *a, TokenTab_PosType *ap, Lists_tList *c, TokenTab_PosType *cp));
  39. extern void Actions_WriteActions ARGS((Actions_tActionMode kind, IO_tFile f, BOOLEAN Line));
  40. extern void Actions_WriteSemanticAction ARGS((IO_tFile f, Lists_tList a, CARDINAL t));
  41. extern void Actions_WriteStringList ARGS((IO_tFile file, Lists_tList slist));
  42. extern void BEGIN_Actions();
  43.